Revert "Fix the build with cups < 2.3"
authorMatthias Clasen <mclasen@redhat.com>
Thu, 1 Oct 2020 11:59:30 +0000 (07:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 1 Oct 2020 11:59:30 +0000 (07:59 -0400)
This reverts commit d761e3cf2c31b91269a3dbfd64a553decdeec51c.

I am seeing PPD_CUSTOM_UNKNOWN in the cups headers in our
ci images, and that is cups 2.2.12. So this commit was
mistaken.

modules/printbackends/gtkprintbackendcups.c

index 982f1c0a6c5ab24c59a9b6b6e2df624f12eaa953..b88d76011caa02da2eb7504c161e1f2e73e770d9 100644 (file)
@@ -647,9 +647,7 @@ add_cups_options (const char *key,
                           custom_value = TRUE;
                           break;
 
-#if CUPS_VERSION_MAJOR == 2 && CUPS_VERSION_MINOR >= 3
                         case PPD_CUSTOM_UNKNOWN:
-#endif
                         default :
                           custom_value = FALSE;
                         }